import classNames from 'classnames';
import './jLoading.scss';
import TransverseLoading from 'react-loadingg/lib/TransverseLoading';

function JLoading(props) {
  return (
    <div className={classNames(['jLoading-wrap', !props.show && 'hide'])}>
      <div className="jLoading-mask" />
      <TransverseLoading color="#2283e2" />
    </div>
  );
}

export default JLoading;
